/* 清除默认信息 */

* {
    margin: 0;
    padding: 0;
    list-style: none;
}

html,
body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    user-select: none;
}

#all {
    position: absolute;
    left: 0;
    width: 200%;
    height: 100%;
    background-color: pink;
    transition: 1s;
}

#all.left {
    left: -100%;
}

#main {
    position: relative;
    float: left;
    left: 0;
    width: 50%;
    height: 100%;
    background: #023b3b url('../img/bg.png') center;
    /* 景深 */
    perspective: 800px;
}

#list>ul {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -80px;
    margin-left: -60px;
    width: 120px;
    height: 160px;
    background-color: pink;
    transform-style: preserve-3d;
    transform: translateZ(-2000px) rotateX(0deg) rotateY(0deg);
    /* transition: .1s; */
}

#list>ul>li {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 127, 127, 0.5);
    border: 1px solid rgba(127, 255, 255, 0.25);
    box-shadow: 0 0 12px rgba(0, 255, 255, 0.5);
    text-align: center;
    color: #fff;
    cursor: pointer;
    transform: translate3d(0px, 0px, 0px);
    transition: 3s cubic-bezier(.94, .02, .48, .98);
}

#list>ul>li:hover {
    animation: warn .7s ease-out infinite;
}

.cover {
    position: absolute;
    left: -1px;
    top: -1px;
    z-index: 9;
    width: 122px;
    height: 162px;
}

.title {
    margin-top: 10px;
    font-size: 20px;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.7);
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

.author {
    margin-top: 10px;
    font-size: 50px;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.7);
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

.time {
    /* margin-top: 10px; */
    font-size: 18px;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.7);
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

#btn {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: #fff;
    width: 300px;
    height: 32px;
}

#btn>ul>li {
    float: left;
    margin: 0 5px;
    padding: 0 10px;
    border: 1px solid rgba(127, 255, 255, 1);
    color: rgba(127, 255, 255, 1);
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
    font-size: 12px;
    line-height: 30px;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    transition: .5s;
}

#btn>ul>li:hover {
    background: rgba(0, 127, 127, 0.8);
    transform: rotateX(360deg);
}

#alert {
    display: none;
    position: absolute;
    top: 10%;
    left: 10%;
    width: 80%;
    height: 80%;
    background: rgba(0, 127, 127, .5);
    border: 1px solid rgba(127, 255, 255, 0.25);
    box-shadow: 0 0 12px rgba(0, 255, 255, 0.5);
    border-radius: 6px;
    transform: rotateY(0deg) scale(1);
    opacity: 0;
    transform-style: preserve-3d;
    transition: .5s cubic-bezier(.94, .02, .48, .98);
}

#alert>div {
    border: 1px solid rgba(127, 255, 255, 0.25);
    box-shadow: 0 0 12px rgba(0, 255, 255, 0.5);
    background: rgba(0, 0, 0, 0.5);
    border-radius: 4px;
}

#all #main #alert .title {
    position: absolute;
    left: 25%;
    top: 15%;
    width: 50%;
    height: 10%;
}

#all #main #alert .title span {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    color: #fff;
    font-weight: bold;
    font-size: 18px;
    text-align: center;
}

#all #main #alert .img {
    overflow: hidden;
    position: absolute;
    top: 35%;
    left: 5%;
    width: 45%;
    height: 50%;
}

#all #main #alert .img img {
    width: 100%;
}

#all #main #alert .author {
    position: absolute;
    top: 35%;
    right: 5%;
    width: 35%;
    height: 10%;
}

#all #main #alert .author span {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    color: #fff;
    font-weight: bold;
    font-size: 18px;
    text-align: center;
}

#all #main #alert .info {
    position: absolute;
    top: 50%;
    right: 5%;
    width: 35%;
    height: 35%;
}

#all #main #alert .info span {
    position: absolute;
    top: 5%;
    color: #fff;
    font-weight: bold;
    font-size: 16px;
}

#all #main #back {
    position: absolute;
    right: -89px;
    bottom: 20px;
    z-index: 128;
    height: 30px;
    line-height: 30px;
    border: 1px solid #7fffff;
    padding: 0 10px;
    font-size: 12px;
    font-weight: bold;
    color: #7fffff;
    border-radius: 6px;
    cursor: pointer;
    transition: .5s;
}

#all #main #back:hover {
    background: rgba(0, 127, 127, 0.8);
    transform: rotateX(360deg);
}

#all #frame {
    overflow: auto;
    float: right;
    /* position: relative; */
    /* right: 0; */
    /* z-index: 10; */
    width: 50%;
    height: 100%;
}

#all #introduce .icon {
    position: absolute;
    right: 30px;
    bottom: 90%;
    z-index: 128;
    width: 80px;
    height: 30px;
    line-height: 30px;
    border: 1px solid #7fffff;
    padding: 0 10px;
    font-size: 12px;
    font-weight: bold;
    color: #7fffff;
    border-radius: 6px;
    text-align: center;
    cursor: pointer;
    animation: help .7s ease-out infinite;
}

#all #introduce .icon:hover+.intro-alert {
    display: block;
}


/* #all #introduce {
    position: absolute;
    margin-top: 90px;
    right: 10px;
    bottom: 90%;
    z-index: 128;
    height: 30px;
    width: 120px;
} */

#introduce>.intro-alert>h3,
h2 {
    text-align: center;
    /* color: #7fffff; */
}

#introduce>.intro-alert {
    display: none;
    position: absolute;
    right: 10px;
    bottom: 40%;
    z-index: 128;
    width: 320px;
    height: 300px;
    line-height: 20px;
    border: 1px solid #7fffff;
    padding: 0 10px;
    font-size: 12px;
    font-weight: bold;
    color: #7fffff;
    border-radius: 6px;
    cursor: pointer;
    transition: .5s;
}


/* 元素块的动画 */

@keyframes warn {
    0% {
        width: 100%;
        height: 100%;
        box-shadow: 0 0 12px rgba(0, 255, 255, 0.5);
        background-color: rgba(0, 127, 127, 0.5);
    }
    20% {
        width: 110%;
        height: 110%;
        left: -5%;
        top: -5%;
        box-shadow: 0 0 16px rgba(50, 255, 255, 0.7);
        background-color: rgba(0, 107, 107, 0.7);
    }
    40% {
        width: 120%;
        height: 120%;
        left: -10%;
        top: -10%;
        box-shadow: 0 0 20px rgba(100, 255, 255, 0.9);
        background-color: rgba(0, 87, 87, 0.9);
    }
    60% {
        width: 130%;
        height: 130%;
        left: -15%;
        top: -15%;
        box-shadow: 0 0 24px rgba(150, 255, 255, 1);
        background-color: rgba(0, 67, 67, 1);
    }
    80% {
        width: 120%;
        height: 120%;
        left: -10%;
        top: -10%;
        box-shadow: 0 0 20px rgba(100, 255, 255, 0.9);
        background-color: rgba(0, 87, 87, 0.9);
    }
    100% {
        width: 110%;
        height: 110%;
        left: -5%;
        top: -5%;
        box-shadow: 0 0 16px rgba(50, 255, 255, 0.7);
        background-color: rgba(0, 107, 107, 0.7);
    }
}


/* 右上角按钮动画 */

@keyframes help {
    0% {
        transform: scale(1);
        box-shadow: 0 0 12px rgba(0, 255, 255, 0.5);
        background-color: rgba(0, 127, 127, 0.5);
    }
    20% {
        transform: scale(1.1);
        box-shadow: 0 0 16px rgba(50, 255, 255, 0.7);
        background-color: rgba(0, 107, 107, 0.7);
    }
    40% {
        transform: scale(1.2);
        box-shadow: 0 0 20px rgba(100, 255, 255, 0.9);
        background-color: rgba(0, 87, 87, 0.9);
    }
    60% {
        transform: scale(1.3);
        box-shadow: 0 0 24px rgba(150, 255, 255, 1);
        background-color: rgba(0, 67, 67, 1);
    }
    80% {
        transform: scale(1.2);
        box-shadow: 0 0 20px rgba(100, 255, 255, 0.9);
        background-color: rgba(0, 87, 87, 0.9);
    }
    100% {
        transform: scale(1.1);
        box-shadow: 0 0 16px rgba(50, 255, 255, 0.7);
        background-color: rgba(0, 107, 107, 0.7);
    }
}